WooCommerce\Facebook\Handlers\PluginRender S

Total Complexity 35
Dependencies 3
Dependents 2
Total lines 272
Lines of code 191
Logical lines of code 70
Comment lines 34
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
plugin_updated_banner()
A
49 9 34
should_show_banners()
S
60 5 12
upcoming_woo_all_products_banner()
S
56 3 20
enqueue_assets()
S
50 1 30
get_opt_out_modal_message()
S
65 1 16
get_opt_out_time()
S
69 2 7
get_opted_out_successfully_banner_class()
S
65 2 10
get_opt_out_banner_class()
S
65 2 10
add_hooks()
S
59 1 14
__construct()
S
74 1 5
is_master_sync_on()
S
75 1 4
opt_out_of_sync_clicked()
S
72 1 5
sync_all_clicked()
S
75 1 4
product_set_banner_closed()
S
75 1 4
reset_upcoming_version_banners()
S
78 1 3
reset_plugin_updated_successfully_banner()
S
78 1 3
reset_plugin_updated_successfully_but_master_sync_off_banner()
S
78 1 3
get_opt_out_modal_buttons()
S
73 1 7